Part Number Hot Search : 
1N5346B ML13155 MMFTN20 V5805 P2000D MX23L MTC14 30KP120A
Product Description
Full Text Search
 

To Download MAX1043BETX Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  general description the max1021/max1043 integrate a multichannel, 10-bit,analog-to-digital converter (adc) and a 10-bit, digital-to- analog converter (dac) in a single ic. the devices also include a temperature sensor and configurable general- purpose i/o ports (gpios) with a 25mhz spi-/qspi-/ microwire-compatible serial interface. the adc is available in an eight input-channel version. the dac out- puts settle within 2.0?, and the adc has a 225ksps con- version rate. all devices include an internal reference (2.5v) to provide a well-regulated, low-noise reference for both the adc and dac. programmable reference modes for the adc and dac allow the use of an internal reference, an exter- nal reference, or a combination of both. features such as an internal ?? accurate temperature sensor, fifo, scan modes, programmable internal or external clock modes, data averaging, and autoshutdown allow users to minimize both power consumption and processor requirements. the low glitch energy (4nv s) and low digi- tal feedthrough (0.5nv s) of the integrated dacs make these devices ideal for digital control of fast-responseclosed-loop systems. the devices are guaranteed to operate with a supply volt- age from +2.7v to +5.25v. they consume 2.5ma at 225ksps throughput, only 22? at 1ksps throughput, and under 0.2? in the shutdown mode. the max1021/ max1043 offer four gpios that can be configured as inputs or outputs. the max1021/max1043 are available in 36-pin thin qfn packages. these devices are specified over the -40? to +85? temperature range. applications closed-loop controls for optical componentsand base stations system supervision and control data-acquisition systems features ? 10-bit, 225ksps adc analog multiplexer with true-differential track/hold (t/h) eight single-ended channels or fourdifferential channels (unipolar or bipolar) excellent accuracy: ?.5 lsb inl, ?.5 lsb dnl, no missing codes over temperature ? 10-bit, octal, 2? settling dac (max1021) ultra-low-glitch energy (4nv s) power-up options from zero scale or full scaleexcellent accuracy: ?.5 lsb inl ? internal reference or external single-ended/differential reference internal reference voltage (2.5v) ? internal ?? accurate temperature sensor ? on-chip fifo capable of storing 16 adcconversion results and one temperature result ? on-chip channel-scan mode and internal data-averaging features ? analog single-supply operation +2.7v to +5.25v ? digital supply: +2.7v to av dd ? 25mhz, spi/qspi/microwire serial interface ? autoshutdown between conversions ? low-power adc 2.5ma at 225ksps22? at 1ksps 0.2? at shutdown ? low-power dac: 1.5ma ? evaluation kit available (order max1258evkit) max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ________________________________________________________________ maxim integrated products 1 ordering information/selector guide 19-4009; rev 1; 3/08 for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxim? website at www.maxim-ic.com. evaluation kit available pin configurations appear at end of data sheet. part pin-package ref voltage (v) analog supply voltage (v) resolution bits** adc channels dac channels gpios max1021 betx 36 thin qfn-ep* 2.5 2.7 to 5.25 10 8 8 4 max1043 betx 36 thin qfn-ep* 2.5 2.7 to 5.25 10 8 4 4 spi and qspi are trademarks of motorola, inc. microwire is a trademark of national semiconductor corp. autoshutdown is a trademark of maxim integrated products, inc. note: all devices are specified over the -40? to +85? operating temperature range. * ep = exposed pad. ** number of resolution bits refers to both dac and adc. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 2 _______________________________________________________________________________________ absolute maximum ratings electrical characteristics(av dd = dv dd = 2.7v to 5.25v, external reference v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at av dd = dv dd = 3v, t a = +25?. outputs are unloaded, unless otherwise noted.) stresses beyond those listed under ?bsolute maximum ratings?may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. av dd to agnd .........................................................-0.3v to +6v dgnd to agnd.....................................................-0.3v to +0.3v dv dd to av dd .......................................................-3.0v to +0.3v digital inputs to dgnd.............................................-0.3v to +6v digital outputs to dgnd .........................-0.3v to (dv dd + 0.3v) analog inputs, analog outputs and ref_ to agnd ...............................................-0.3v to (av dd + 0.3v) maximum current into any pin (except agnd, dgnd, av dd , dv dd , and out_) ...........................................................50ma maximum current into out_.............................................100ma continuous power dissipation (t a = +70?) 36-pin thin qfn (6mm x 6mm) (derate 26.3mw/? above +70?) ..........................2105.3mw operating temperature range ...........................-40? to +85? storage temperature range .............................-60? to +150? junction temperature ......................................................+150? lead temperature (soldering, 10s) .................................+300? parameter symbol conditions min typ max units adc dc accuracy (note 1) resolution 10 bits integral nonlinearity inl ?.5 ?.0 lsb differential nonlinearity dnl ?.5 ? lsb offset error ?.25 ?.0 lsb gain error (note 2) ?.025 ?.0 lsb gain temperature coefficient ?.4 ppm/? channel-to-channel offset ?.1 lsb dynamic specifications (10khz sine-wave input, v in = 2.5v p-p , 225ksps, f clk = 3.6mhz) signal-to-noise plus distortion sinad 61 db total harmonic distortion(up to the fifth harmonic) thd -70 dbc spurious-free dynamic range sfdr 66 dbc intermodulation distortion imd f in1 = 9.9khz, f in2 = 10.2khz 72 dbc full-linear bandwidth sinad > 70db 100 khz full-power bandwidth -3db point 1 mhz conversion rate (note 3) external reference 0.8 s power-up time t pu internal reference (note 4) 218 c onver si on cl ock cycl es note: if the package power dissipation is not exceeded, one output at a time can be shorted to av dd , dv dd , agnd, or dgnd indefinitely. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 3 electrical characteristics (continued)(av dd = dv dd = 2.7v to 5.25v, external reference v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at av dd = dv dd = 3v, t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units acquisition time t acq (note 5) 0.6 s internally clocked 5.5 conversion time t conv externally clocked 3.6 ? external clock frequency f clk externally clocked conversion (note 5) 0.1 3.6 mhz duty cycle 40 60 % aperture delay 30 ns aperture jitter < 50 ps analog inputs unipolar 0 v ref input voltage range (note 6) bipolar -v ref / 2 +v ref / 2 v input leakage current ?.01 ? ? input capacitance 24 pf internal temperature sensor t a = +25? 0.7 measurement error (notes 5, 7) t a = t min to t max ?.0 ?.0 ? temperature resolution 1/8 ?/lsb internal reference ref1 output voltage (note 8) 2.482 2.50 2.518 v ref1 voltage temperaturecoefficient tc ref ?0 ppm/? ref1 output impedance 6.5 k ref1 short-circuit current v ref = 2.5v 0.39 ma external reference ref1 input voltage range v ref1 ref mode 11 (note 4) 1 av dd + 0.05 v ref mode 01 1 av dd + 0.05 ref2 input voltage range(note 4) v ref2 ref mode 11 0 1 v v ref = 2.5v, f sample = 225ksps 25 80 ref1 input current (note 9) i ref1 acquisition between conversions ?.01 ? ? v ref = 2.5v, f sample = 225ksps 25 80 ref2 input current i ref2 acquisition between conversions ?.01 ? ? downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 4 _______________________________________________________________________________________ electrical characteristics (continued)(av dd = dv dd = 2.7v to 5.25v, external reference v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at av dd = dv dd = 3v, t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units dac dc accuracy (note 10) resolution 10 bits integral nonlinearity inl ?.5 ? lsb differential nonlinearity dnl guaranteed monotonic 0.5 lsb offset error v os ? ?0 mv offset-error drift ?0 ppm of fs/? gain error ge ?.25 ?0 lsb gain temperature coefficient ? ppm of fs/? dac output no load 0.02 av dd - 0.02 output voltage range 10k load to either rail 0.1 av dd - 0.1 v dc output impedance 0.5 capacitive load (note 11) 1 nf resistive load to agnd r l av d d = 2.7v , v re f = 2.5v , g ai n er r or < 1% 2000 from power-down mode, av dd = 5v 25 wake-up time (note 12) from power-down mode, av dd = 2.7v 21 ? 1k output termination programmed in power-down mode 1 k 100k output termination at wake-up or programmed inpower-down mode 100 k dynamic performance (notes 5, 13) output-voltage slew rate sr positive and negative 3 v/? output-voltage settling time t s to 1 lsb, 400 - c00 hex (note 7) 2 5 ? digital feedthrough code 0, all digital inputs from 0 to dv dd 0.5 nv s major code transition glitchimpulse between codes 2047 and 2048 4 nv s from v ref 660 output noise (0.1hz to 50mhz) using internal reference 720 ? p-p from v ref 260 output noise (0.1hz to 500khz) using internal reference 320 ? p-p dac-to-dac transitioncrosstalk 0.5 nv s downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 5 electrical characteristics (continued)(av dd = dv dd = 2.7v to 5.25v, external reference v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at av dd = dv dd = 3v, t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units internal reference ref1 output voltage 2.482 2.50 2.518 v ref1 temperature coefficient tc ref ?0 ppm/? ref1 short-circuit current v ref = 2.5v 0.39 ma external reference input ref1 input voltage range v ref1 ref modes 01, 10, and 11 (note 4) 0.7 av dd v ref1 input impedance r ref1 70 100 130 k digital interface digital inputs (sclk, din, cs , cnvst , ldac ) input-voltage high v ih dv dd = 2.7v to 5.25v 2.4 v dv dd = 3.6v to 5.25v 0.8 input-voltage low v il dv dd = 2.7v to 3.6v 0.6 v input leakage current i l 0.01 ?0 a input capacitance c in 15 pf digital output (dout) (note 14) output-voltage low v ol i sink = 2ma 0.4 v output-voltage high v oh i source = 2ma dv dd - 0.5 v tri-state leakage current ?0 a tri-state output capacitance c out 15 pf digital output ( eoc ) (note 14) output-voltage low v ol i sink = 2ma 0.4 v output-voltage high v oh i source = 2ma dv dd - 0.5 v tri-state leakage current ?0 a tri-state output capacitance c out 15 pf digital outputs (gpio_) (note 14) i sink = 2ma 0.4 gpioc_ output-voltage low i sink = 4ma 0.8 v gpioc_ output-voltage high i source = 2ma dv dd - 0.5 v gpioa_ output-voltage low i sink = 15ma 0.8 v gpioa_ output-voltage high i source = 15ma dv dd - 0.8 v tri-state leakage current ?0 a tri-state output capacitance c out 15 pf downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 6 _______________________________________________________________________________________ electrical characteristics (continued)(av dd = dv dd = 2.7v to 5.25v, external reference v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at av dd = dv dd = 3v, t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units power requirements (note 15) digital positive-supply voltage dv dd 2.7 av dd v idle, all blocks shut down 0.2 4 ? digital positive-supply current di dd only adc on, external reference 1 ma analog positive-supply voltage av dd 2.70 5.25 v idle, all blocks shut down 0.2 2 ? f sample = 225ksps 2.8 4.2 only adc on,external reference f sample = 100ksps 2.6 analog positive-supply current a idd all dacs on, no load, internal reference 1.5 4.0 ma ref1 positive-supply rejection psrr av dd = 2.7v -77 db dac positive-supply rejection psrd outputcode = fffhex av dd = 2.7v to 5.25v ?.1 ?.5 mv adc positive-supply rejection psra full-scale input av dd = 2.7v to 5.25v ?.06 ?.5 mv timing characteristics (figures 6?3) sclk clock period t cp 40 ns sclk pulse-width high t ch 40/60 duty cycle 16 ns sclk pulse-width low t cl 60/40 duty cycle 16 ns gpio output rise/fall aftercs rise t god c load = 20pf 100 ns gpio input setup before cs fall t gsu 0n s ldac pulse width t ldacpwl 20 ns c load = 20pf, slow = 0 1.8 12.0 sclk fall to dout transition(note 16) t dot c load = 20pf, slow = 1 10 40 ns c load = 20pf, slow = 0 1.8 12.0 sclk rise to dout transition(notes 16, 17) t dot c load = 20pf, slow = 1 10 40 ns cs fall to sclk fall setup time t css 10 ns sclk fall to cs rise setup time t csh 0 2000 ns din to sclk fall setup time t ds 10 ns din to sclk fall hold time t dh 0n s cs pulse-width high t cspwh 50 ns cs rise to dout disable t dod c load = 20pf 25 ns cs fall to dout enable t doe c load = 20pf 1.5 25.0 ns eoc fall to cs fall t rds 30 ns downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 7 electrical characteristics (continued)(av dd = dv dd = 2.7v to 5.25v, external reference v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), t a = -40? to +85?, unless otherwise noted. typical values are at av dd = dv dd = 3v, t a = +25?. outputs are unloaded, unless otherwise noted.) parameter symbol conditions min typ max units cksel = 01 (temp sense) or cksel =10 (temp sense), internal reference on 65 cksel = 01 (temp sense) or cksel =10 (temp sense), internal reference initially off 140 cksel = 01 (voltage conversion) 9 cksel = 10 (voltage conversion),internal reference on 9 cs or cnvst rise to eoc fall?nternally clockedconversion time t dov cksel = 10 (voltage conversion),internal reference initially off 80 ? cksel = 00, cksel = 01 (temp sense) 40 ns cnvst pulse width t csw cksel = 01 (voltage conversion) 1.4 s note 1: tested at dv dd = av dd = 2.7v. note 2: offset nulled. note 3: no bus activity during conversion. conversion time is defined as the number of conversion clock cycles multiplied by theclock period. note 4: see table 5 for reference-mode details. note 5: not production tested. guaranteed by design. note 6: see the adc/dac references section. note 7: fast automated test, excludes self-heating effects. note 8: specified over the -40? to +85? temperature range. note 9: refsel[1:0] = 00 or when dacs are not powered up. note 10: dac linearity, gain, and offset measurements are made between codes 115 and 3981. note 11: the dac buffers are guaranteed by design to be stable with a 1nf load. note 12: time required by the dac output to power up and settle within 1 lsb in the external reference mode. note 13: all dac dynamic specifications are valid for a load of 100pf and 10k . note 14: only one digital output (either dout, eoc , or the gpios) can be indefinitely shorted to either supply at one time. note 15: all digital inputs at either dv dd or dgnd. dv dd should not exceed av dd . note 16: see the reset register section and table 9 for details on programming the slow bit. note 17: clock mode 11 only. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 8 _______________________________________________________________________________________ typical operating characteristics (av dd = dv dd = 3v, external v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) 0 0.1 0.30.2 0.4 0.5 2.5 3.5 3.0 4.0 4.5 5.0 5.5 analog shutdown current vs. analog supply voltage max1021 toc01 supply voltage (v) analog shutdown current ( a) 0.40.3 0.2 0.1 0 -40 10 - 1 5 3 56 08 5 analog shutdown current vs. temperature max1021 toc02 temperature ( c) analog shutdown current ( a) adc integral nonlinearity vs. output code max1040 toc03 output code integral nonlinearity (lsb) 768 512 256 -0.2 -0.1 0 0.1 0.2 0.3 -0.3 0 1024 av dd = dv dd = 5v external reference = 4.096v adc integral nonlinearity vs. output code max1040 toc04 output code integral nonlinearity (lsb) 768 512 256 -0.2 -0.1 0 0.1 0.2 0.3 -0.3 0 1024 adc differential nonlinearity vs. output code max1040 toc05 output code differential nonlinearity (lsb) 768 512 256 -0.2 -0.1 0 0.1 0.2 0.3 -0.3 0 1024 av dd = dv dd = 5v external reference = 4.096v adc differential nonlinearity vs. output code max1040 toc06 output code differential nonlinearity (lsb) 768 512 256 -0.2 -0.1 0 0.1 0.2 0.3 -0.3 0 1024 0 0.1 0.30.2 0.4 0.5 2.5 3.5 3.0 4.0 4.5 5.0 5.5 adc offset error vs. analog supply voltage max1021 toc07 supply voltage (v) offset error (lsb) 1.00.5 0 -0.5-1.0 -40 10 - 1 5 3 56 08 5 adc offset error vs. temperature max1021 toc08 temperature ( c) offset error (lsb) 0.500.25 0 -0.25-0.50 2.5 4.0 3.0 3.5 4.5 5.0 5.5 adc gain error vs. analog supply voltage max1021 toc09 supply voltage (v) gain error (lsb) downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports _______________________________________________________________________________________ 9 typical operating characteristics (continued) (av dd = dv dd = 3v, external v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) 1.00.5 0 -0.5-1.0 -40 10 - 1 5 3 56 08 5 adc gain error vs. temperature max1021 toc10 temperature ( c) gain error (lsb) adc external reference input current vs. sampling rate max1040 toc11 sampling rate (ksps) adc external reference input current ( a) 250 200 150 100 50 10 20 30 40 50 60 0 0 300 analog supply current vs. sampling rate max1040 toc12 sampling rate (ksps) analog supply current (ma) 250 200 150 100 50 0.5 1.0 1.5 2.0 2.5 3.0 0 0 300 1.90 1.941.92 1.981.96 2.022.00 2.04 2.5 3.5 4.0 3.0 4.5 5.0 5.5 analog supply current vs. analog supply voltage max1021 toc13 supply voltage (v) supply current (ma) 1.88 1.921.90 1.961.94 2.001.98 2.02 -40 10 -15 35 60 85 analog supply current vs. temperature max1021 toc14 temperature ( c) analog supply current (ma) av dd = dv dd = 3v av dd = dv dd = 5v dac integral nonlinearity vs. output code max1040 toc15 output code integral nonlinearity (lsb) 768 512 256 -0.2 -0.1 0 0.1 0.2 0.3 -0.3 0 1024 av dd = dv dd = 5v external reference = 4.096v dac integral nonlinearity vs. output code max1040 toc16 output code integral nonlinearity (lsb) 768 512 256 -0.2 -0.1 0 0.1 0.2 0.3 -0.3 0 1024 dac differential nonlinearity vs. output code max1040 toc17 output code differential nonlinearity (lsb) 1035 1032 1029 1026 -0.05 0 0.05 0.10 -0.10 1023 1038 av dd = dv dd = 5v external reference = 4.096v dac differential nonlinearity vs. output code max1040 toc18 output code differential nonlinearity (lsb) 1035 1032 1029 1026 -0.05 0 0.05 0.10 -0.10 1023 1038 downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 10 ______________________________________________________________________________________ typical operating characteristics (continued) (av dd = dv dd = 3v, external v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) 0.40.3 0.2 0.1 0 2.5 4.0 3.0 3.5 4.5 5.0 5.5 dac full-scale error vs. analog supply voltage max1021 toc19 supply voltage (v) dac full-scale error (lsb) -3 -1-2 10 2 3 -40 85 dac full-scale error vs. temperature max1021 toc20 temperature ( c) dac full-scale error (lsb) 10 -15 35 60 av dd = dv dd = 5v external reference = 4.096v -3 -1-2 10 2 3 -40 85 dac full-scale error vs. temperature max1021 toc21 temperature ( c) dac full-scale error (lsb) 10 -15 35 60 external reference = 2.5v internal reference av dd = dv dd = 3v dac full-scale error vs. reference voltage max1040 toc22 reference voltage (v) dac full-scale error (lsb) 4 3 1 2 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 05 av dd = dv dd = 5v dac full-scale error vs. reference voltage max1040 toc23 reference voltage (v) dac full-scale error (lsb) 2.0 2.5 1.5 0.5 1.0 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0 03 . 0 dac full-scale error vs. load current max1040 toc24 load current (ma) dac full-scale error (lsb) 25 20 15 10 5 -2-3 -1 0 1 -4 03 0 av dd = dv dd = 5v external reference = 4.096v dac full-scale error vs. load current max1040 toc25 load current (ma) dac full-scale error (lsb) 2.5 2.0 1.5 1.0 0.5 -2 -1 0 1 -4 -3 03 . 0 2.522.51 2.50 2.49 2.48 -40 10 - 1 5 3 56 08 5 internal reference voltage vs. temperature max1021 toc26 temperature ( c) internal reference voltage (v) 25.125.0 24.9 24.8 24.7 2.5 4.0 3.0 3.5 4.5 5.0 5.5 adc reference supply current vs. analog supply voltage max1021 toc27 supply voltage (v) adc reference supply current ( a) downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 11 typical operating characteristics (continued) (av dd = dv dd = 3v, external v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) 40.5 40.6 40.840.7 40.9 41.0 -40 10 -15 35 60 85 adc reference supply current vs. temperature max1021 toc28 temperature ( c) adc reference supply current ( a) av dd = dv dd = 5v external reference = 4.096v 25.125.0 24.9 24.8 24.7 -40 10 - 1 5 3 56 08 5 adc reference supply current vs. temperature max1021 toc29 temperature ( c) adc reference supply current ( a) av dd = dv dd = 3v external reference = 2.5v adc fft plot max1040 toc30 analog input frequency (khz) amplitude (db) 150 100 50 -140 -120 -100 -80 -60 -40 -20 0 -160 0 200 f sample = 32.768khz f analog_)n = 10.080khz f clk = 5.24288mhz sinad = 61.21dbcsnr = 61.21dbc thd = 73.32dbc sfdr = 81.25dbc adc imd plot max1040 toc31 analog input frequency (khz) amplitude (db) 150 100 50 -140 -120 -100 -80 -60 -40 -20 0 -160 0 200 f clk = 5.24288mhz f in1 = 9.0khz f in2 = 11.0khz a in = -6dbfs imd = 78.0dbc adc crosstalk plot max1040 toc32 analog input frequency (khz) amplitude (db) 150 100 50 -140 -120 -100 -80 -60 -40 -20 0 -160 0 200 f clk = 5.24288mhz f in1 = 10.080khz f in2 = 8.0801khz snr = 61.11dbcthd = 73.32dbc enob = 9.86 bits sfdr = 86.34dbc dac output load regulation vs. output current max1040 toc33 output current (ma) dac output voltage (v) 60 30 0 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.082.00 -30 90 dac output = midscale sinking sourcing av dd = dv dd = 5v external reference = 4.096v dac output load regulation vs. output current max1040 toc34 output current (ma) dac output voltage (v) 20 10 0 -20 -10 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.291.21 -30 30 dac output = midscale sinking sourcing gpio output voltage vs. source current max1040 toc35 source current (ma) gpio output voltage (v) 80 60 40 20 1 2 3 4 50 0 100 gpioa0, gpioa1 outputs gpioc0, gpioc1 outputs av dd = dv dd = 5v external reference = 4.096v gpio output voltage vs. source current max1040 toc36 source current (ma) gpio output voltage (v) 80 60 40 20 0.5 1.0 1.5 2.0 2.5 3.0 0 0 100 gpioa0, gpioa1 outputs gpioc0, gpioc1 outputs downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 12 ______________________________________________________________________________________ typical operating characteristics (continued) (av dd = dv dd = 3v, external v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) gpio output voltage vs. sink current max1040 toc37 sink current (ma) gpio output voltage (mv) 80 60 40 20 300 600 900 1200 1500 0 0 100 gpioa0, gpioa1 outputs gpioc0, gpioc1 outputs av dd = dv dd = 5v external reference = 4.096v gpio output voltage vs. sink current max1040 toc38 sink current (ma) gpio output voltage (mv) 40 50 30 20 10 300 600 900 1200 1500 0 06 0 gpioa0, gpioa1 outputs gpioc0, gpioc1 outputs temperature sensor error vs. temperature max1040 toc39 temperature ( c) temperature sensor error ( c) 60 35 -15 10 -0.75 -0.50 -0.25 0 0.25 0.50 0.75 1.00 -1.00 -40 85 dac-to-dac crosstalk (r load = 10k , c load = 100pf) max1040 toc40 100 s/div v outa 1v/div v outb 10mv/divac-coupled max1043 dac-to-dac crosstalk (r load = 10k , c load = 100pf) max1040 toc41 100 s/div v outa 2v/div v outb 10mv/divac-coupled av dd = dv dd = 5v external reference = 4.096v dynamic response rise time (r load = 10k , c load = 100pf) max1040 toc42 1 s/div v out 1v/div cs1v/div dynamic response rise time (r load = 10k , c load = 100pf) max1040 toc43 1 s/div v out 2v/div cs2v/div av dd = dv dd = 5v external reference = 4.096v dynamic response fall time (r load = 10k , c load = 100pf) max1040 toc44 1 s/div v out 1v/div cs1v/div dynamic response fall time (r load = 10k , c load = 100pf) max1040 toc45 1 s/div v out 2v/div cs2v/div av dd = dv dd = 5v external reference = 4.096v downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 13 typical operating characteristics (continued) (av dd = dv dd = 3v, external v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) major carry transition (r load = 10k , c load = 100pf) max1040 toc46 1 s/div v out 10mv/divac-coupled cs1v/div major carry transition (r load = 10k , c load = 100pf) max1040 toc47 1 s/div v out 20mv/divac-coupled cs2v/div av dd = dv dd = 5v external reference = 4.096v dac digital feedthrough (r load = 10k , c load = 100pf, cs = high, din = low) max1040 toc48 200ns/div v out 100mv/divac-coupled sclk1v/div dac digital feedthrough (r load = 10k , c load = 100pf, cs = high, din = low) max1040 toc49 200ns/div v out 100mv/divac-coupled sclk2v/div av dd = dv dd = 5v external reference = 4.096v negative full-scale settling time (r load = 10k , c load = 100pf) max1040 toc50 1 s/div v out 1v/div v ldac 1v/div downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 14 ______________________________________________________________________________________ typical operating characteristics (continued) (av dd = dv dd = 3v, external v ref = 2.5v, f clk = 3.6mhz (50% duty cycle), f sample = 225ksps, c load = 50pf, 0.1? capacitor at ref, t a = +25?, unless otherwise noted.) negative full-scale settling time (r load = 10k , c load = 100pf) max1040 toc51 2 s/div v out_ 2v/div v ldac 2v/div av dd = dv dd = 5v external reference = 4.096v positive full-scale settling time (r load = 10k , c load = 100pf) max1040 toc52 1 s/div v out_ 1v/div v ldac 1v/div positive full-scale settling time (r load = 10k , c load = 100pf) max1040 toc53 1 s/div v out_ 2v/div v ldac 2v/div av dd = dv dd = 5v external reference = 4.096v adc reference feedthrough (r load = 10k , c load = 100pf) max1040 toc54 200 s/div v dac-out 10mv/divac-coupled v ref2 1v/div adc reference switching adc reference feedthrough (r load = 10k , c load = 100pf) max1040 toc55 200 s/div v dac-out 2mv/divac-coupled v ref2 2v/div adc reference switching av dd = dv dd = 5v external reference = 4.096v downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 15 pin description pin max1021 max1043 name function 1, 2 1, 2 gpioa0, gpioa1 general-purpose i/o a0, a1. gpioa0, gpioa1 can sink and source 15ma. 33 eoc active-low, end-of-conversion output. data is valid after the falling edge of eoc . 44d v dd digital positive-power input. bypass dv dd to dgnd with a 0.1? capacitor. 5 5 dgnd digital ground. connect dgnd to agnd. 6 6 dout serial-data output. data is clocked out on the falling edge of the sclk clock inmodes 00, 01, and 10. data is clocked out on the rising edge of the sclk clock in mode 11. it is high impedance when cs is high. 77s c l k s er i al - c l ock inp ut. c l ocks d ata i n and out of the ser i al i nter face. ( d uty cycl e m ust b e 40% to 60%) . s ee tab l e 5 for d etai l s on p r og r am m i ng the cl ock m od e. 88 d i n serial-data input. din data is latched into the serial interface on the falling edgeof sclk. 9?2 out0?ut3 dac outputs 9?2, 16?9 out0?ut7 dac outputs 13 13 av dd positive analog power input. bypass av dd to agnd with a 0.1? capacitor. 14 14 agnd analog ground 15, 23, 32, 33 15, 23, 32, 33 n.c. no connection. not internally connected. 20 20 ldac active-low, load dac. ldac is an asynchronous active-low input that updates the dac outputs. drive ldac low to make the dac registers transparent. 21 21 cs active-low, chip-select input. when cs is low, the serial interface is enabled. when cs is high, dout is high impedance. 22 22 res_sel reset s el ect. s el ect d ac w ake- up m od e. s et re s _s e l l ow to w ake up the d ac outp uts w i th a 100k r esi stor to gn d or set re s _s e l hi g h to w ake up the d ac outp uts w i th a 100k r esi stor to v re f . the d efaul t i s the exter nal v re f . 24, 25 24, 25 gpioc0, gpioc1 gener al - p ur p ose i/o c 0, c 1. gp ioc 0, gp ioc 1 can si nk 4m a and sour ce 2m a. 26 26 ref1 reference 1 input. reference voltage; leave unconnected to use the internal reference (2.5v). ref1 is the positive reference in adc differential mode. bypassref1 to agnd with a 0.1? capacitor in external reference mode only. see the adc/dac references section. 27?1, 34 27?1, 34 ain0?in5 analog inputs 35 35 ref2/ain6 reference 2 input/analog input channel 6. see table 5 for details onprogramming the setup register. 36 36 cnvst /ain7 active-low, conversion-start input/analog input 7. see table 5 for details onprogramming the setup register. 16-19 d.c. do not connect. do not connect to this pin. e p exposed pad. must be externally connected to agnd. do not use as a groundconnect. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 16 ______________________________________________________________________________________ detailed description the max1021/max1043 integrate a multichannel 10-bitadc and a 10-bit dac in a single ic. these devices also include a temperature sensor and configurable gpios with a 25mhz spi-/qspi-/microwire-compati- ble serial interface. the adc is available in an 8 input- channel version. the dac outputs settle within 2.0?, and the adc has a 225ksps conversion rate. these devices include an internal reference (2.5v) pro- viding a well-regulated, low-noise reference for both the adc and dac. programmable reference modes for the adc and dac allow the use of an internal reference, an external reference, or a combination of both. features such as an internal ?? accurate temperature sensor, fifo, scan modes, programmable internal or external clock modes, data averaging, and autoshutdown allow users to minimize both power consumption and proces- sor requirements. the low glitch energy (4nv s) and low digital feedthrough (0.5nv s) of the integrated dacs make these devices ideal for digital control offast-response closed-loop systems. the devices are guaranteed to operate with a supply voltage from +2.7v to +5.25v. they consume 2.5ma at 225ksps throughput, only 0.22? at 1ksps throughput, and under 0.2? in shutdown mode. the max1021/ max1043 offer four gpios that can be configured as inputs or outputs. figure 1 shows the max1021 functional diagram. the max1021/max1043 only include the gpio a0, a1, gpio c0, c1 blocks. the output-conditioning circuitry takes the internal parallel data bus and converts it to a serial data format at dout, with the appropriate wake-up timing. the arithmetic logic unit (alu) performs the averaging func- tion. spi-compatible serial interface the max1021/max1043 feature a serial interface that iscompatible with spi and microwire devices. for spi, ensure the spi bus master (typically a microcontroller (?)) runs in master mode so that it generates the serial-clock signal. select the sclk frequency of 25mhz or less, and set the clock polarity (cpol) and phase (cpha) in the ? control registers to the same value. the max1021/max1043 operate with sclk idling high or low, and thus operate with cpol = cpha = 0 or cpol = cpha = 1. set cs low to latch any input data at din on the falling edge of sclk. output data at dout is updated on the falling edge of sclk in clockmodes 00, 01, and 10. output data at dout is updated on the rising edge of sclk in clock mode 11. see figures 6?1. bipolar true-differential results and tem- perature-sensor results are available in two? comple- ment format, while all other results are in binary. a high-to-low transition on cs initiates the data-input operation. serial communications to the adc alwaysbegin with an 8-bit command byte (msb first) loaded from din. the command byte and the subsequent data bytes are clocked from din into the serial interface on the falling edge of sclk. the serial-interface and fast- interface circuitry is common to the adc, dac, and gpio sections. the content of the command byte determines whether the spi port should expect 8, 16, or 24 bits and whether the data is intended for the adc, dac, or gpios (if applicable). see table 1. driving cs high resets the serial interface.the conversion register controls adc channel selec- tion, adc scan mode, and temperature-measurement requests. see table 4 for information on writing to the conversion register. the setup register controls the clock mode, reference, and unipolar/bipolar adc con- figuration. use a second byte, following the first, to write to the unipolar-mode or bipolar-mode registers. see table 5 for details of the setup register and see tables 6, 7, and 8 for setting the unipolar- and bipolar- mode registers. hold cs low between the command byte and the second and third byte. the adc averag-ing register is specific to the adc. see table 9 to address that register. table 11 shows the details of the reset register. begin a write to the dac by writing 0001xxxx as a command byte. the last 4 bits of this command byte are don?-care bits. write another 2 bytes (holding cs low) to the dac interface register following the com-mand byte to select the appropriate dac and the data to be written to it. see the dac serial interface section and tables 10, 17, and 18.write to the gpios (if applicable) by issuing a com- mand byte to the appropriate register. writing to the max1021/max1043 gpios requires 1 additional byte following the command byte. see tables 12?6 for details on gpio configuration, writes, and reads. see the gpio command section. command bytes written to the gpios on devices without gpios are ignored. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 17 dout eoc address ain0 ain5 ref2/ ain6 cnvst/ ain7 ref1 din sclk cs gpioa0, gpioa1 gpioc0, gpioc1 av dd spi port gpio control input register dac register output conditioning 10-bit dac buffer user-programmable i/o oscillator out0 out1 out2 out4 out5 out6 max1021 10-bit sar adc logic control temperature sensor fifo and alu ldac res_sel agnd t/h ref2 input register dac register output conditioning 10-bit dac buffer input register dac register output conditioning 10-bit dac buffer input register dac register output conditioning 10-bit dac buffer input register internal reference dac register output conditioning 10-bit dac buffer input register dac register output conditioning 10-bit dac buffer input register dac register output conditioning 10-bit dac buffer input register dac register output conditioning 10-bit dac buffer out3 out7 dgnd dv dd cnvst figure 1. max1021 functional diagram downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 18 ______________________________________________________________________________________ table 1. command byte (msb first) register name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 conversion 1 x chsel2 chsel1 chsel0 scan1 scan0 temp setup 0 1 cksel1 cksel0 refsel1 refsel0 diffsel1 diffsel0 adc averaging 0 0 1 avgon navg1 navg0 nscan1 nscan0 dac select 0 0 0 1 xxxx reset 0 0 0 0 1 reset slow fbgon g p i o c o n f i g u r e 00000011 g p i o w r i t e 00000010 gpio read 0 0 000001 n o o p e r a t i o n 00000000 x = don? care. power-up default state the max1021/max1043 power up with all blocks inshutdown (including the reference). all registers power up in state 00000000, except for the setup register and the dac input register. the setup register powers up at 00101000 with cksel1 = 1 and refsel1 = 1. the dac input register powers up to 3ffh when res_sel is high, and it powers up to 000h when res_sel is low. 10-bit adc the max1021/max1043 adcs use a fully differentialsuccessive-approximation register (sar) conversion technique and on-chip track-and-hold (t/h) circuitry to convert temperature and voltage signals into 10-bit dig- ital results. the analog inputs accept both single-ended and differential input signals. single-ended signals are converted using a unipolar transfer function, and differ- ential signals are converted using a selectable bipolar or unipolar transfer function. see the adc transfer functions section for more data. adc clock modes when addressing the setup, register bits 5 and 4 of thecommand byte (cksel1 and cksel0, respectively) control the adc clock modes. see table 5. choose between four different clock modes for various ways to start a conversion and determine whether the acquisi- tions are internally or externally timed. select clock mode 00 to configure cnvst /ain_ to act as a conver- sion start and use it to request internally timed conver-sions, without tying up the serial bus. in clock mode 01, use cnvst to request conversions one channel at a time, thereby controlling the sampling speed withouttying up the serial bus. request and start internally timed conversions through the serial interface by writ-ing to the conversion register in the default clock mode, 10. use clock mode 11 with sclk up to 3.6mhz for externally timed acquisitions to achieve sampling rates up to 225ksps. clock mode 11 disables scanning and averaging. see figures 6? for timing specifications on how to begin a conversion. these devices feature an active-low, end-of-conversion output. eoc goes low when the adc completes the last requested operation and is waiting for the next com-mand byte. eoc goes high when cs or cnvst go low. eoc is always high in clock mode 11. single-ended or differential conversions the max1021/max1043 use a fully differential adc forall conversions. when a pair of inputs are connected as a differential pair, each input is connected to the adc. when configured in single-ended mode, the positive input is the single-ended channel and the negative input is referred to agnd. see figure 2. in differential mode, the t/h samples the difference between two analog inputs, eliminating common-mode dc offsets and noise. in+ and in- are selected from the following pairs: ain0/ain1, ain2/ain3, ain4/ain5, ain6/ain7. see tables 5? for more details on config- uring the inputs. for the inputs that are configurable as cnvst , ref2, and an analog input, only one function can be used at a time. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 19 unipolar or bipolar conversions address the unipolar- and bipolar-mode registersthrough the setup register (bits 1 and 0). see table 5 for the setup register. see figures 3 and 4 for the transfer- function graphs. program a pair of analog inputs for differential operation by writing a one to the appropriate bit of the bipolar- or unipolar-mode register. unipolar mode sets the differential input range from 0 to v ref1. a negative differential analog input in unipolar mode caus-es the digital output code to be zero. selecting bipolar mode sets the differential input range to ? ref1 / 2. the digital output code is binary in unipolar mode and two?complement in bipolar mode. in single-ended mode, the max1021/max1043 always operate in unipolar mode. the analog inputs are inter- nally referenced to agnd with a full-scale input range from 0 to the selected reference voltage. analog input (t/h) the equivalent circuit of figure 2 shows the adc inputarchitecture of the max1021/max1043. in track mode, a positive input capacitor is connected to ain0?in7 in single-ended mode and ain0, ain2, ain4, and ain6 in differential mode. a negative input capacitor is con- nected to agnd in single-ended mode or ain1, ain3, ain5, and ain7 in differential mode. for external t/h timing, use clock mode 01. after the t/h enters hold mode, the difference between the sampled positive and negative input voltages is converted. the input capaci- tance charging rate determines the time required for the t/h to acquire an input signal. if the input signal? source impedance is high, the required acquisition timelengthens. any source impedance below 300 does not signifi- cantly affect the adc? ac performance. a high-imped-ance source can be accommodated either by lengthening t acq (only in clock mode 01) or by placing a 1? capacitor between the positive and negative analog inputs. the combination of the analog-input source impedance and the capacitance at the analog input creates an rc filter that limits the analog input bandwidth. input bandwidth the adc? input-tracking circuitry has a 1mhz small-sig-nal bandwidth, making it possible to digitize high-speed transient events and measure periodic signals with bandwidths exceeding the adc? sampling rate by using undersampling techniques. anti-alias prefiltering of the input signals is necessary to avoid high-frequency signals aliasing into the frequency band of interest. analog input protection internal electrostatic-discharge (esd) protection diodesclamp all analog inputs to av dd and agnd, allowing the inputs to swing from (agnd - 0.3v) to (av dd + 0.3v) without damage. however, for accurate conver-sions near full scale, the inputs must not exceed av dd by more than 50mv or be lower than agnd by 50mv. ifan analog input voltage exceeds the supplies, limit the input current to 2ma. internal fifo the max1021/max1043 contain a first-in/first-out(fifo) buffer that holds up to 16 adc results plus one temperature result. the internal fifo allows the adc to process and store multiple internally clocked conver- sions and a temperature measurement without being serviced by the serial bus. if the fifo is filled and further conversions are request- ed without reading from the fifo, the oldest adc results are overwritten by the new adc results. each result contains 2 bytes, with the msb preceded by four leading zeros. after each falling edge of cs , the oldest available pair of bytes of data is available at dout,msb first. when the fifo is empty, dout is zero. the first 2 bytes of data read out after a temperature measurement always contain the 10-bit temperature result, preceded by four leading zeros, msb first. ain0?in7 (single-ended), ain0, ain2, ain4, ain6 (differential) comparator hold acq acq hold acq hold av dd / 2 ref1 agnd cin+ cin- dac agnd (single-ended), ain1, ain3, ain5, ain7 (differential) figure 2. equivalent input circuit downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 20 ______________________________________________________________________________________ the lsb is followed by 2 sub-bits. if another tempera-ture measurement is performed before the first temper- ature result is read out, the old measurement is overwritten by the new result. temperature results are in degrees celsius (two? complement), at a resolution of 8 lsb per degree. see the temperature measurements section for details on converting the dig- ital code to a temperature. 10-bit dac in addition to the 10-bit adc, the max1021/max1043also include eight (max1021) or four (max1043) volt- age-output, 10-bit, monotonic dacs with less than 1 lsb integral nonlinearity error and less than 0.5 lsb differential nonlinearity error. each dac has a 2s set- tling time and ultra-low glitch energy (4nv s). the 10-bit dac code is unipolar binary with 1 lsb = v ref / 1024. dac digital interface figure 1 shows the max1021 functional diagram. theshift register converts a serial 16-bit word to parallel data for each input register operating with a clock rate up to 25mhz. the spi-compatible digital interface to the shift register consists of cs , sclk, din, and dout. serial data at din is loaded on the falling edge of sclk.pull cs low to begin a write sequence. begin a write to the dac by writing 0001xxxx as a command byte. thelast 4 bits of the dac select register are don?-care bits. see table 10. write another 2 bytes to the dac inter- face register following the command byte to select the appropriate dac and the data to be written to it. see tables 17 and 18. the double-buffered dacs include an input and a dac register. the input registers are directly connected to the shift register and hold the result of the most recent write operation. the 10-bit dac registers hold the cur- rent output code for the respective dac. data can be transferred from the input registers to the dac registers by pulling ldac low or by writing the appropriate dac command sequence at din. see table 17. the outputsof the dacs are buffered through eight (max1021)/ four (max1043) rail-to-rail op amps. the max1021/max1043 dac output voltage range is based on the internal reference or an external refer- ence. write to the setup register (see table 5) to pro- gram the reference. if using an external voltage reference, bypass ref1 with a 0.1? capacitor to agnd. the internal reference is 2.5v. when using an external reference on these devices, the voltage range is 0.7v to av dd . dac transfer function see table 2 for various analog outputs from the dac. dac power-on wake-up modes the state of the res_sel input determines the wake-upstate of the dac outputs. connect res_sel to av dd or agnd upon power-up to be sure the dac outputswake up to a known state. connect res_sel to agnd to wake up all dac outputs at 000h. while res_sel is low, the 100k internal resistor pulls the dac outputs to agnd and the output buffers are powered down.connect res_sel to av dd to wake up all dac outputs at 3ffh. while res_sel is high, the 100k pullup resistor pulls the dac outputs to v ref1 and the output buffers are powered down. dac power-up modes see table 18 for a description of the dac power-upand power-down modes. gpios in addition to the internal adc and dac, themax1021/max1043 also provide four gpio channels, gpioa0, gpioa1, gpioc0, and gpioc1. read and write to the gpios as detailed in tables 1 and 12?6. also, see the gpio command section. see figures 11 and 12 for gpio timing. dac contents msb lsb analog output 11 1111 1111 10 0000 0001 10 0000 0000 01 0111 0111 00 0000 0001 00 0000 0000 0 + ? ? ? ? ? ? v ref 1023 1024 + ? ? ? ? ? ? = + ? ? ? ? ? ? v v ref ref 512 1024 2 + ? ? ? ? ? ? v ref 511 1024 + ? ? ? ? ? ? v ref 1 1024 + ? ? ? ? ? ? v ref 1023 1024 table 2. dac output code table downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 21 write to the gpios by writing a command byte to thegpio command register. write a single data byte to the max1021/max1043 following the command byte. the gpios can sink and source current. gpioa0 and gpioa1 can sink and source up to 15ma. gpioc0 and gpioc1 can sink 4ma and source 2ma. see table 3. clock modes internal clock the max1021/max1043 can operate from an internaloscillator. the internal oscillator is active in clock modes 00, 01, and 10. figures 6, 7, and 8 show how to start an adc conversion in the three internally timed conversion modes. read out the data at clock speeds up to 25mhz through the spi interface. external clock set cksel1 and cksel0 in the setup register to 11 toset up the interface for external clock mode 11. see table 5. pulse sclk at speeds from 0.1mhz to 3.6mhz. write to sclk with a 40% to 60% duty cycle. the sclk frequency controls the conversion timing. see figure 9 for clock mode 11 timing. see the adc conversions in clock mode 11 section. adc/dac references address the reference through the setup register, bits 3and 2. see table 5. following a wake-up delay, set refsel[1:0] = 00 to program both the adc and dac for internal reference use. set refsel[1:0] = 10 to pro- gram the adc for internal reference. set refsel[1:0] = 10 to program the dac for external reference, ref1. when using ref1 or ref2/ain_ in external-reference mode, connect a 0.1? capacitor to agnd. set refsel[1:0] = 01 to program the adc and dac for external-reference mode. the dac uses ref1 as its external reference, while the adc uses ref2 as its external reference. set refsel[1:0] = 11 to program the adc for external differential-reference mode. ref1 is the positive reference and ref2 is the negative refer- ence in the adc external differential mode. when refsel[1:0] = 00 or 10, ref2/ain_ functions asan analog input channel. when refsel[1:0] = 01 or 11, ref2/ain_ functions as the device? negative reference. temperature measurements issue a command byte setting bit 0 of the conversionregister to one to take a temperature measurement. see table 4. the max1021/max1043 perform tempera- ture measurements with an internal diode-connected transistor. the diode bias current changes from 68? to 4? to produce a temperature-dependent bias voltage difference. the second conversion result at 4? is sub- tracted from the first at 68? to calculate a digital value that is proportional to absolute temperature. the output data appearing at dout is the digital code above, minus an offset to adjust from kelvin to celsius. the reference voltage used for the temperature mea- surements is always derived from the internal reference source to ensure that 1 lsb corresponds to 1/8th of a degree celsius. on every scan where a temperature measurement is requested, the 12-bit temperature con- version is carried out first. the first 2 bytes of data read from the fifo contain the result of the 12-bit tempera- ture measurement. if another temperature measure- ment is performed before the first temperature result is read out, the old measurement is overwritten by the new result. temperature results are in degrees celsius (two? complement). see the applications information section for information on how to perform temperaturemeasurements in each clock mode. register descriptions the max1021/max1043 communicate between theinternal registers and the external circuitry through the spi-compatible serial interface. table 1 details the command byte, the registers, and the bit names. tables 4?2 show the various functions within the con- version register, setup register, unipolar-mode register, bipolar-mode register, adc averaging register, dac select register, reset register, and gpio command reg- ister, respectively. conversion register select active analog input channels, scan modes, anda single temperature measurement per scan by issuing a command byte to the conversion register. table 4 details channel selection, the four scan modes, and how to request a temperature measurement. start a scan by writing to the conversion register when in clock mode 10 or 11, or by applying a low pulse to the cnvst pin when in clock mode 00 or 01. see figures 6 and 7 for timing specifications for starting a scan withcnvst . current gpioa0, gpioa1 (ma) gpioc0, gpioc1 (ma) sink 15 4 source 15 2 table 3. gpio maximum sink/sourcecurrent downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 22 ______________________________________________________________________________________ a conversion is not performed if it is requested on achannel or one of the channel pairs that has been con- figured as cnvst or ref2. for channels configured as differential pairs, the chsel0 bit is ignored and the twopins are treated as a single differential channel. select scan mode 00 or 01 to return one result per sin- gle-ended channel and one result per differential pair within the selected scanning range (set by bits 2 and 1, scan1 and scan0), plus one temperature result if selected. select scan mode 10 to scan a single input channel numerous times, depending on nscan1 and nscan0 in the adc averaging register (table 9). select scan mode 11 to return only one result from a single channel. setup register issue a command byte to the setup register to config-ure the clock, reference, power-down modes, and adc single-ended/differential modes. table 5 details the bits in the setup-register command byte. bits 5 and 4 (cksel1 and cksel0) control the clock mode, acqui- sition and sampling, and the conversion start. bits 3 and 2 (refsel1 and refsel0) set the device for either internal or external reference. bits 1 and 0 (diffsel1 and diffsel0) address the adc unipolar-mode and bipolar-mode registers and configure the analog input channels for differential operation. the adc reference is always on if any of the following conditions are true: 1)the fbgon bit is set to one in the reset register. 2)at least one dac output is powered up and refsel[1:0] (in the setup register) = 00. 3)at least one dac is powered down through the 100k to v ref and refsel[1:0] = 00. if any of the above conditions exist, the adc referenceis always on, but there is a 188 clock-cycle delay before temperature-sensor measurements begin, if requested. table 4. conversion register* bit name bit function 7 (msb) s et to one to sel ect conver si on r eg i ster . x 6 don? care. chsel2 5 analog-input channel select. chsel1 4 analog-input channel select. chsel0 3 analog-input channel select. scan1 2 scan-mode select. scan0 1 scan-mode select. temp 0 (lsb) set to one to take a single temp-erature measurement. the first conversion result of a scan contains temperature information. chsel2 chsel1 chsel0 selec t ed c h an n el ( n ) 000a i n 0 001a i n 1 010a i n 2 011a i n 3 100a i n 4 101a i n 5 110a i n 6 111a i n 7 scan1 scan0 sc a n m o d e ( c h a n n el n is sel ec t ed b y b it s c h sel 2 , c h sel 1 , an d c h sel 0 ) 0 0 scans channels 0 through n. 01 scans channels n through thehighest numbered channel. 10 scans channel n repeatedly. theadc averaging register sets the number of results. 11n o scan. c onver ts channel n once onl y. * see below for bit details. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 23 table 5. setup register* bit name bit function 7 (msb) set to zero to select setup register. 6 set to one to select setup register. cksel1 5 clock mode and cnvst configuration; resets to one at power-up. cksel0 4 clock mode and cnvst configuration. refsel1 3 reference-mode configuration. refsel0 2 reference-mode configuration. diffsel1 1 unipolar-/bipolar-mode register configuration for differential mode. diffsel0 0 (lsb) unipolar-/bipolar-mode register configuration for differential mode. table 5a. clock modes (see the clock modes section) cksel1 cksel0 conversion clock acquisition/sampling cnvst configuration 0 0 internal internally timed. cnvst 0 1 internal externally timed by cnvst . cnvst 1 0 internal internally timed. ain7 1 1 external (3.6mhz max) externally timed by sclk. ain7 table 5b. clock modes 00, 01, and 10 refsel1 refsel0 voltage reference override conditions autoshutdown ref2 configuration ain inter nal r efer ence tur ns off after scan i s com p l ete. if i nter nal r efer ence i s tur ned off, ther e i s a p r og r am m ed d el ay of 218 i nter nal - conver si on cl ock cycl es. 00 internal (dac and adc) temperature internal reference required. there is a programmeddelay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ain6 ain internal reference not used. 01 external single- ended (ref1 for dac and ref2 for adc) temperature internal reference required. there is a programmeddelay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ref2 ain default reference mode. internal reference turns offafter scan is complete. if internal reference is turned off, there is a programmed delay of 218 internal- conversion clock cycles. 10 internal (adc) and external ref1 (dac) temperature internal reference required. there is a programmeddelay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ain6 ain internal reference not used. 11 external differential (adc), external ref1 (dac) temperature internal reference required. there is a programmeddelay of 244 internal-conversion clock cycles for the internal reference to settle after wake-up. ref2 * see below for bit details. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 24 ______________________________________________________________________________________ table 5c. clock mode 11 refsel1 refsel0 voltage reference override conditions autoshutdown ref2 configuration ain inter nal r efer ence tur ns off after scan i s com p l ete. if i nter nal r efer ence i s tur ned off, ther e i s a p r og r am m ed d el ay of 218 exter nal conver si on cl ock cycl es. 00 internal (dac and adc) temperature inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ain6 ain internal reference not used. 01 external single- ended (ref1 for dac and ref2 for adc) tem p er atur e inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ref2 ain default reference mode. internal reference turns offafter scan is complete. if internal reference is turned off, there is a programmed delay of 218 external conversion clock cycles. 10 internal (adc) and external ref1 (dac) temperature inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ain6 ain internal reference not used. 11 external differential (adc), external ref1 (dac) temperature inter nal r efer ence r eq ui r ed . ther e i s a p r og r am m ed d el ay of 244 exter nal conver si on cl ock cycl es for the i nter nal r efer ence. tem p er atur e- sensor outp ut ap p ear s at d ou t after 188 fur ther exter nal cl ock cycl es. ref2 table 5d. differential select modes diffsel1 diffsel0 function 0 0 no data follows the command setup byte. unipolar-mode and bipolar-mode registers remain unchanged. 0 1 no data follows the command setup byte. unipolar-mode and bipolar-mode registers remain unchanged. 1 0 1 byte of data follows the command setup byte and is written to the unipolar-mode register. 1 1 1 byte of data follows the command setup byte and is written to the bipolar-mode register. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 25 table 6. unipolar-mode register (addressed through the setup register) bit name bit function uch0/1 7 (msb) configure ain0 and ain1 for unipolar differential conversion. uch2/3 6 configure ain2 and ain3 for unipolar differential conversion. uch4/5 5 configure ain4 and ain5 for unipolar differential conversion. uch6/7 4 configure ain6 and ain7 for unipolar differential conversion. x 3 don? care. x 2 don? care. x 1 don? care. x 0 (lsb) don? care. table 7. bipolar-mode register (addressed through the setup register) bit name bit function bch0/1 7 (msb) set to one to configure ain0 and ain1 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain0 and ain1 for unipolar single-ended conversion. bch2/3 6 set to one to configure ain2 and ain3 for bipolar differential conversion. set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain2 and ain3 for unipolar single-ended conversion. bch4/5 5 set to one to configure ain4 and ain5 for bipolar differential conversion (max1021/max1043). set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain4 and ain5 for unipolar single-ended conversion. bch6/7 4 set to one to configure ain6 and ain7 for bipolar differential conversion (max1043). set the corresponding bits in the unipolar-mode and bipolar-mode registers to zero to configure ain6 and ain7 for unipolar single-ended conversion. x 3 don? care. x 2 don? care. x 1 don? care. x 0 (lsb) don? care. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 26 ______________________________________________________________________________________ unipolar/bipolar registers the final 2 bits (lsbs) of the setup register control the unipolar-/bipolar-mode address registers. set diffsel[1:0] = 10 to write to the unipolar-mode regis- ter. set bits diffsel[1:0] = 11 to write to the bipolar- mode register. in both cases, the setup command byte must be followed by 1 byte of data that is written to the unipolar-mode register or bipolar-mode register. hold cs low and run 16 sclk cycles before pulling cs high. if the last 2 bits of the setup register are 00 or 01, nei-ther the unipolar-mode register nor the bipolar-mode register is written. any subsequent byte is recognized as a new command byte. see tables 6, 7, and 8 to pro- gram the unipolar- and bipolar-mode registers. both registers power up at all zeros to set the inputs as eight unipolar single-ended channels. to configure a channel pair as single-ended unipolar, bipolar differen- tial, or unipolar differential, see table 8. in unipolar mode, ain+ can exceed ain- by up to v ref . the output format in unipolar mode is binary. in bipolar mode, either input can exceed the other by upto v ref / 2. the output format in bipolar mode is two? complement (see the adc transfer functions section). adc averaging register write a command byte to the adc averaging register toconfigure the adc to average up to 32 samples for each requested result, and to independently control the number of results requested for single-channel scans. table 8. unipolar/bipolar channel function unipolar- mode register bit bipolar-mode register bit channel pair function 0 0 unipolar single-ended 0 1 bipolar differential 1 0 unipolar differential 1 1 unipolar differential table 9. adc averaging register* bit name bit function 7 (msb) set to zero to select adc averaging register. 6 set to zero to select adc averaging register. 5 set to one to select adc averaging register. avgon 4 set to one to turn averaging on. set to zero to turn averaging off. navg1 3 configures the number of conversions for single-channel scans. navg0 2 configures the number of conversions for single-channel scans. nscan1 1 single-channel scan count. (scan mode 10 only.) nscan0 0 (lsb) single-channel scan count. (scan mode 10 only.) avgon navg1 navg0 function 0 x x performs one conversion for each requested result. 1 0 0 performs four conversions and returns the average for each requested result. 1 0 1 performs eight conversions and returns the average for each requested result. 1 1 0 performs 16 conversions and returns the average for each requested result. 1 1 1 performs 32 conversions and returns the average for each requested result. nscan1 nscan0 function (applies only if scan mode 10 is selected) 0 0 scans channel n and returns four results. 0 1 scans channel n and returns eight results. 1 0 scans channel n and returns 12 results. 1 1 scans channel n and returns 16 results. * see below for bit details. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 27 table 9 details the four scan modes available in theadc conversion register. all four scan modes allow averaging as long as the avgon bit, bit 4 in the averaging register, is set to 1. select scan mode 10 to scan the same channel multiple times. clock mode 11 disables averaging. for example, if avgon = 1, navg[1:0] = 00, nscan[1:0] = 11 and scan[1:0] = 10, 16 results are written to the fifo, with each result being the average of four conversions of channel n. dac select register write a command byte 0001xxxx to the dac selectregister (as shown in table 9) to set up the dac inter- face and indicate that another word will follow. the last 4 bits of the dac select register are don?-care bits. the word that follows the dac select-register command byte controls the dac serial interface. see table 17 and the dac serial interface section. reset register write to the reset register (as shown in table 11) toclear the fifo or reset all registers (excluding the dac and gpio registers) to their default states. when the reset bit in the reset register is set to 0, the fifo is cleared. set the reset bit to one to return all the device registers to their default power-up state. all reg- isters power up in state 00000000, except for the setup register that powers up in clock mode 10 (cksel1 = 1 and refsel1 = 1). the dac and gpio registers are not reset by writing to the reset register. set the slow bit to one to add a 15ns delay in the dout signal path to provide a longer hold time. writing a one to the slow bit also clears the contents of the fifo. set the fbgon bit to one to force the bias block and bandgap reference to power up regardless of the state of the dac and activity of the adc block. setting the fbgon bit high also removes the programmed wake-up delay between conversions in clock modes 01 and 11. setting the fbgon bit high also clears the fifo. gpio command write a command byte to the gpio command registerto configure, write, or read the gpios, as detailed in table 12. table 10. dac select register bit name bit function 7 (msb) set to zero to select dac select register. 6 set to zero to select dac select register. 5 set to zero to select dac select register. 4 set to one to select dac select register. x 3 don? care. x 2 don? care. x 1 don? care. x 0 don? care. table 11. reset register bit name bit function 7 (msb) set to zero to select adc reset register. 6 set to zero to select adc reset register. 5 set to zero to select adc reset register. 4 set to zero to select adc reset register. 3 set to one to select adc reset register. reset 2 set to zero to clear the fifo only. set toone to set the device in its power-on condition. slow 1 set to one to turn on slow mode. fbgon 0 (lsb) set to one to force internal bias block andbandgap reference to be always powered up. table 12. gpio command register bit name bit function 7 (msb) set to zero to select gpio register. 6 set to zero to select gpio register. 5 set to zero to select gpio register. 4 set to zero to select gpio register. 3 set to zero to select gpio register. 2 set to zero to select gpio register. gpiosel1 1 gpio configuration bit. gpiosel2 0 (lsb) gpio write bit. gpiosel1 gpiosel2 function 11 gpio configuration; written data is entered in the gpio configuration register. 10 gpio write; written data is enteredin the gpio write register. 01 gpio read; the next 8 sclk cyclestransfer the state of all gpio drivers into dout. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 28 ______________________________________________________________________________________ table 13. max1021/max1043 gpio configuration data pin gpio command byte data byte din 0 0 0 0 0 0 1 1 gpioc1 gpioc0 gpioa1 gpioa0 x x x x dout 00000000 0 0 0 0 0000 table 14. max1021/max1043 gpio write data pin gpio command byte data byte din 0 0 0 0 0 0 1 0 gpioc1 gpioc0 gpioa1 gpioa0 x x x x dout 00000000 0 0 0 0 0 0 0 0 write the command byte 00000011 to configure thegpios. the eight sclk cycles following the command byte load data from din to the gpio configuration reg- ister in the max1021/max1043. see tables 13 and 14. the register bits are updated after the last cs rising edge. all gpios default to inputs upon power-up.the data in the register controls the function of each gpio, as shown in tables 13, 14, and 16. gpio write write the command byte 00000010 to indicate a gpiowrite operation. the eight sclk cycles following the command byte load data from din into the gpio write register in the max1021/max1043. see tables 14 and 15. the register bits are updated after the last cs rising edge. gpio read write the command byte 00000001 to indicate a gpioread operation. the eight sclk cycles following the command byte transfer the state of the gpios to dout in the max1021/max1043. see table 16. dac serial interface write a command byte 0001xxxx to the dac selectregister to indicate the word to follow is written to the dac serial interface, as detailed in tables 1, 10, 17, and 18. write the next 16 bits to the dac interface register, as shown in tables 17 and 18. following the high-to-low transition of cs , the data is shifted synchronously and latched into the input register on each falling edge ofsclk. each word is 16 bits. the first 4 bits are the con- trol bits, followed by 10 data bits (msb first), followed by 2 sub-bits. see figures 9?2 for dac timing specifica- tions. if cs goes high prior to completing 16 sclk cycles, the command is discarded. to initiate a new transfer, drivecs low again. for example, writing the dac serial interface word 11110000 and 00110100 disconnects dac outputs 2 and 3 and forces them to a high-impedance state. dac out- puts 0 and 1 remain in their previous state. table 15. gpio-mode control configuration bit write bit output state gpio function 111 o u t p u t 100 o u t p u t 0 1 tri-state input 000 pulldown (open drain) table 16. max1021/max1043 gpio read data pin gpio command byte data byte din 00000001 x x x x x x x x dout 00000000 0 0 0 0 gpioc1 gpioc0 gpioa1 gpioa0 downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 29 table 17. dac serial-interface configuration 16-bit serial word msb lsb control bits data bits c3 c2 c1 c0 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 x x description function 0000 x x xxxxxxxxxx nop no operation. 0001 0 x xxxxxxxxxx r eset reset all internal registers to000h and leave output buffers in their present state. 0001 1 x xxxxxxxxxx pull-high preset all internal registers tofffh and leave output buffers in their present state. 0 0 1 0 x x dac0 d9?0 to input register 0, dacoutput unchanged. 0 0 1 1 x x dac1 d9?0 to input register 1, dacoutput unchanged. 0 1 0 0 x x dac2 d9?0 to input register 2, dacoutput unchanged. 0 1 0 1 x x dac3 d9?0 to input register 3, dacoutput unchanged. 0 1 1 0 x x dac4 d9?0 to input register 4, dacoutput unchanged (max1021). nop command (max1043). 0 1 1 1 x x dac5 d9?0 to input register 5, dacoutput unchanged (max1021). nop command (max1043). 1 0 0 0 x x dac6 d9?0 to input register 6, dacoutput unchanged (max1021). nop command (max1043). 1 0 0 1 x x dac7 d9?0 to input register 7, dacoutput unchanged (max1021). nop command (max1043). 1 0 1 0 x x dac03 d9?0 to input registers 0? anddac register 0?. dac outputs updated (write-through). 1 0 1 1 x x dac47 d9?0 to input registers 4? anddac register 4? (max1021). dac outputs updated (write- through). nop command (max1043). 1 1 0 0 x x dac07 d9?0 to input registers 0? anddac register 0? (max1021). d11?0 to input registers 0? and dac registers 0? (max1043). dac outputs updated (write-through). downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 30 ______________________________________________________________________________________ table 17. dac serial-interface configuration (continued) 16-bit serial word msb lsb control bits data bits c3 c2 c1 c0 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 x x description function 1 1 0 1 x x dac07 d9?0 to input registers 0?(max1021). d9?0 to input registers 0? (max1043). dac outputs unchanged. 1110 dac7dac6 dac5 dac4 dac3 dac2 dac1 dac0 xxxx dac07 input registers to dac registersindicated by ones, dac outputs updated, equivalent to software ldac . (no effect on dacs indicated by zeros.) dac7dac4 are only valid on the max1021. these bits are don?- care bits for the max1043. table 18. dac power-up and power-down commands control bits data bits c3 c2 c1 c0 dac7dac6 dac5 dac4 dac3 dac2 dac1 dac0 d3 d2 d1 d0 description function 1 1 1 1 0 0 1 x power-up power up individual dac buffers indicated by datain dac0 through dac3. a one indicates the dac output is connected and active. a zero does not affect the dac? present state. 1 1 1 1 0 1 0 x power-down 1 power down individual dac buffers indicated bydata in dac0 through dac3. a one indicates the dac output is disconnected and high impedance. a zero does not affect the dac? present state. 1 1 1 1 1 0 0 x power-down 2 power down individual dac buffers indicated bydata in dac0 through dac3. a one indicates the dac output is disconnected and pulled to agnd with a 1k resistor. a zero does not affect the dac? present state. 1 1 1 1 0 0 0 x power-down 3 power down individual dac buffers indicated bydata in dac0 through dac3. a one indicates the dac output is disconnected and pulled to agnd with a 100k resistor. a zero does not affect the dac? present state. 1 1 1 1 1 1 1 x power-down 4 power down individual dac buffers indicated bydata in dac0 through dac3. a one indicates the dac output is disconnected and pulled to ref1 with a 100k resistor. a zero does not affect the dac? present state. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 31 output-data format figures 6? illustrate the conversion timing for themax1021/max1043. all 10-bit conversion results are out- put in 2-byte format, msb first, with four leading zeros and the lsb followed by 2 sub-bits. data appears on dout on the falling edges of sclk. data is binary for unipolar mode and two? complement for bipolar mode and temperature results. see figures 3, 4, and 5 for input/output and temperature-transfer functions. adc transfer functions figure 3 shows the unipolar transfer function for single-ended or differential inputs. figure 4 shows the bipolar transfer function for differential inputs. code transitions occur halfway between successive-integer lsb values. output coding is binary, with 1 lsb = v ref1 / 1024 for unipolar and bipolar operation, and 1 lsb = +0.125?for temperature measurements. bipolar true-differential results and temperature-sensor results are available in two? complement format, while all others are in binary. see tables 6, 7, and 8 for details on which setting (unipolar or bipolar) takes precedence. in unipolar mode, ain+ can exceed ain- by up to v ref1 . in bipolar mode, either input can exceed the other by up to v ref1 / 2. partial reads and partial writes if the first byte of an entry in the fifo is partially read( cs is pulled high after fewer than eight sclk cycles), the remaining bits are lost for that byte. the next byte ofdata that is read out contains the next 8 bits. if the first byte of an entry in the fifo is read out fully, but the second byte is read out partially, the rest of that byte is lost. the remaining data in the fifo is unaffected and can be read out normally after taking cs low again, as long as the 4 leading bits (normally zeros) are ignored.if cs is pulled low before eoc goes low, a conversion may not be completed and the fifo data may not becorrect. incorrect writes (pulling cs high before com- pleting eight sclk cycles) are ignored and the registerremains unchanged. applications information internally timed acquisitions and conversions using cnvst adc conversions in clock mode 00 in clock mode 00, the wake-up, acquisition, conversion,and shutdown sequence is initiated through cnvst and performed automatically using the internal oscilla-tor. results are added to the internal fifo to be read out later. see figure 6 for clock mode 00 timing after a command byte is issued. see table 5 for details on programming the clock mode in the setup register. initiate a scan by setting cnvst low for at least 40ns before pulling it high again. the max1021/max1043then wake up, scan all requested channels, store the results in the fifo, and shut down. after the scan is complete, eoc is pulled low and the results are avail- able in the fifo. wait until eoc goes low before pulling cs low to communicate with the serial interface. eoc stays low until cs or cnvst is pulled low again. a tem- perature-conversion result, if requested, precedes allother fifo results. temperature results are available in 12-bit format. do not issue a second cnvst signal before eoc goes low; otherwise, the fifo can be corrupted. wait until allconversions are complete before reading the fifo. spi communications to the dac and gpio registers are per- mitted during conversion. however, coupled noise may result in degraded adc signal-to-noise ratio (snr). externally timed acquisitions and internally timed conversions with cnvst adc conversions in clock mode 01 in clock mode 01, conversions are requested one at atime using cnvst and performed automatically using the internal oscillator. see figure 7 for clock mode 01timing after a command byte is issued. setting cnvst low begins an acquisition, wakes up the adc, and places it in track mode. hold cnvst low for at least 1.4? to complete the acquisition. if referencemode 00 or 10 is selected, an additional 45? is required for the internal reference to power up. if a tem- perature measurement is being requested, reference power-up and temperature measurement is internally timed. in this case, hold cnvst low for at least 40ns. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 32 ______________________________________________________________________________________ set cnvst high to begin a conversion. sampling is completed approximately 500ns after cnvst goes high. after the conversion is complete, the adc shutsdown and pulls eoc low. eoc stays low until cs or cnvst is pulled low again. wait until eoc goes low before pulling cs or cnvst low. the number of cnvst signals must equal the number of conversions request-ed by the scan and averaging registers to correctly update the fifo. wait until all conversions are com- plete before reading the fifo. spi communications to the dac and gpio registers are permitted during con- version. however, coupled noise may result in degrad- ed adc snr. if averaging is turned on, multiple cnvst pulses need to be performed before a result is written to the fifo. oncethe proper number of conversions has been performed to generate an averaged fifo result (as specified to the averaging register), the scan logic automatically switch- es the analog input multiplexer to the next requested channel. if a temperature measurement is programmed, it is performed after the first rising edge of cnvst follow- ing the command byte written to the conversion register.the temperature-conversion result is available on dout once eoc has been pulled low. temperature results are available in 12-bit format. internally timed acquisitions and conversions using the serial interface adc conversions in clock mode 10 in clock mode 10, the wake-up, acquisition, conversion,and shutdown sequence is initiated by writing a com- mand byte to the conversion register, and is performed automatically using the internal oscillator. this is the default clock mode upon power-up. see figure 8 for clock mode 10 timing. full-scaletransition 111....111 0 input voltage (lsb) fs = v ref 111....110 111....101 offset binary output code (lsb) 000....011000....010 000....001 000....000 2 13 fs 1 lsb = v ref / 1024 fs - 3/2 lsb figure 3. unipolar transfer function?ull scale (fs) = v ref output code 011....111 temperature ( c) 011....110 000....001111....101 100....001 100....000 111....111111....110 000....000 0 000....010 -256 +255.5 figure 5. temperature transfer function 011....111 -fs input voltage (lsb) fs = v ref / 2 + v com v ref = v ref+ - v ref- -fs = -v ref / 2 011....110 011....101 000....001 000....000 111....111 offset binary output code (lsb) 100....011100....010 100....001 100....000 0 (com) -1 +1 +fs - 1 lsb 1 lsb = v ref / 1024 zs = com v ref v ref v ref (com) v ref figure 4. bipolar transfer function?ull scale ( fs) = v ref / 2 downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 33 initiate a scan by writing a command byte to the conver-sion register. the max1021/max1043 then power up, scan all requested channels, store the results in the fifo, and shut down. after the scan is complete, eoc is pulled low and the results are available in the fifo. if atemperature measurement is requested, the tempera- ture result precedes all other fi fo results. temperature results are available in 12-bit format. eoc stays low until cs is pulled low again. wait until all conversions are complete before reading the fifo. spi communicationsto the dac and gpio registers are permitted during conversion. however, coupled noise may result in degraded adc snr. externally clocked acquisitions and conversions using the serial interface adc conversions in clock mode 11 in clock mode 11, acquisitions and conversions are initiated by writing a command byte to the conversion register and are performed one at a time using sclk as the conversion clock. scanning, averaging, and the fifo are disabled, and the conversion result is avail- able at dout during the conversion. output data is updated on the rising edge of sclk in clock mode 11. see figure 9 for clock mode 11 timing. initiate a conversion by writing a command byte to the conversion register followed by 16 sclk cycles. if cs is pulsed high between the eighth and ninth cycles, thepulse width must be less than 100?. to continuously convert at 16 cycles per conversion, alternate 1 byte of (up to 514 internally clocked acquisitions and conversions) cs dout msb1 t rds lsb1 msb2 sclk cnvst eoc figure 6. clock mode 00?fter writing a command byte, set cnvst low for at least 40ns to begin a conversion. (conversion 2) t csw t dov (acquisition 2) (acquisition 1) (conversion 1) cs dout msb1 lsb1 msb2 sclk cnvst eoc figure 7. clock mode 01?fter writing a command byte, request multiple conversions by setting cnvst low for each conversion. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 34 ______________________________________________________________________________________ (up to 514 internally clocked acquisitions and conversions) msb1 t dov lsb1 msb2 (conversion byte) cs dout sclk din eoc figure 8. clock mode 10?he command byte to the conversion register begins the acquisition ( cnvst is not required). zeros (nop byte) between each conversion byte. if 2nop bytes follow a conversion byte, the analog cells power down at the end of the second nop. set the fbgon bit to one in the reset register to keep the inter- nal bias block powered. if reference mode 00 is requested, or if an external refer- ence is selected, but a temperature measurement is being requested, wait 45? with cs high after writing the conversion byte to extend the acquisition and allow theinternal reference to power up. to perform a temperature measurement, write 24 bytes (192 cycles) of zeros after the conversion byte. the temperature result appears on dout during the last 2 bytes of the 192 cycles. temperature results are available in 12-bit format. conversion-time calculations the conversion time for each scan is based on a num-ber of different factors: conversion time per sample, samples per result, results per scan, if a temperature measurement is requested, and if the external refer- ence is in use. use the following formula to calculate the total conversion time for an internally timed conver- sion in clock mode 00 and 10 (see the electrical characteristics , as applicable): total conversion time = t cnv x n avg x n scan + t ts + t int-ref,su where:t cnv = t dov (where t dov is dependent on clock mode and reference mode selected)n avg = samples per result (amount of averaging) n scan = number of times each channel is scanned; set to one unless [scan1, scan0] = 10t ts = time required for temperature measurement (53.1?); set to zero if temperature measurement is notrequested t int-ref,su = t wu (external-reference wake-up); if a conversion using the external reference is requested.in clock mode 01, the total conversion time depends on how long cnvst is held low or high. conversion time in externally clocked mode (cksel1, cksel0 = 11)depends on the sclk period and how long cs is held high between each set of eight sclk cycles. in clockmode 01, the total conversion time does not include the time required to turn on the internal reference. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 35 dac/gpio timing figures 10?3 detail the timing diagrams for writing tothe dac and gpios. figure 10 shows the timing speci- fications for clock modes 00, 01, and 10. figure 11 shows the timing specifications for clock mode 11. figure 12 details the timing specifications for the dac input select register and 2 bytes to follow. output data is updated on the rising edge of sclk in clock mode 11. figure 13 shows the gpio timing. figure 14 shows the timing details of a hardware ldac command dac- register update. for a software-command dac-registerupdate, t s is valid from the rising edge of cs , which fol- lows the last data bit in the software command word. ldac functionality drive ldac low to transfer the content of the input registers to the dac registers. drive ldac permanently low to make the dac register transparent. the dacoutput typically settles from zero to full scale within ? lsb after 2?. see figure 14. layout, grounding, and bypassing for best performance, use pc boards. ensure that digi-tal and analog signal lines are separated from each other. do not run analog and digital signals parallel to one another (especially clock signals) or do not run dig- ital lines underneath the max1021/max1043 package. high-frequency noise in the av dd power supply may affect performance. bypass the av dd sup- ply with a 0.1? capacitor to agnd, close to the av dd pin. bypass the dv dd supply with a 0.1? capacitor to dgnd, close to the dv dd pin. minimize capacitor lead lengths for best supply-noise rejection. if the powersupply is very noisy, connect a 10 resistor in series with the supply to improve power-supply filtering.the max1021/max1043 thin qfn packages contain an exposed pad on the underside of the device. connect this exposed pad to agnd. refer to the max1258 ev kit for an example of proper layout. definitions integral nonlinearity integral nonlinearity (inl) is the deviation of the valueson an actual transfer function from a straight line. this straight line can be either a best-straight-line fit or a line drawn between the end points of the transfer function, once offset and gain errors have been nullified. inl for the max1021/max1043 is measured using the end- point method. differential nonlinearity differential nonlinearity (dnl) is the difference betweenan actual step width and the ideal value of 1 lsb. a dnl error specification of less than 1 lsb guarantees no missing codes and a monotonic transfer function. unipolar adc offset error for an ideal converter, the first transition occurs at 0.5lsb, above zero. offset error is the amount of deviation between the measured first transition point and the ideal first transition point. sclk dout x = don't care. msb1 lsb1 msb2 (acquisition1) (acquisition2) (conversion1) din (conversion byte) cs eoc figure 9. clock mode 11?xternally timed acquisition, sampling, and conversion without cnvst downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 36 ______________________________________________________________________________________ t csh sclk din dout cs 1234 3216 8 d15 d14 d13 d12 d11 5 d15 d7 d14 d6 d13 d5 d12 d4 d0 d1 d0 t dod t dot t css t cspwh d1 t doe t ds t dh t ch t cl figure 10. dac/gpio serial-interface timing (clock modes 00, 01, and 10) bipolar adc offset error while in bipolar mode, the adc? ideal midscale transi-tion occurs at agnd -0.5 lsb. bipolar offset error is the measured deviation from this ideal value. adc gain error gain error is defined as the amount of deviationbetween the ideal transfer function and the measured transfer function, with the offset error removed and with a full-scale analog input voltage applied to the adc, resulting in all ones at dout. dac offset error dac offset error is determined by loading a code of all zeros into the dac and measuring the analog output voltage. dac gain error dac gain error is defined as the amount of deviationbetween the ideal transfer function and the measured transfer function, with the offset error removed, when loading a code of all ones into the dac. aperture jitter aperture jitter (t aj ) is the sample-to-sample variation in the time between the samples. aperture delay aperture delay (t ad ) is the time between the rising edge of the sampling clock and the instant when anactual sample is taken. signal-to-noise ratio for a waveform perfectly reconstructed from digital sam-ples, signal-to-noise ratio (snr) is the ratio of full-scale analog input (rms value) to the rms quantization error (residual error). the ideal, theoretical minimum analog- to-digital noise is caused by quantization error only and results directly from the adc? resolution (n bits): snr = (6.02 x n + 1.76)db in reality, there are other noise sources besides quanti-zation noise, including thermal noise, reference noise, clock jitter, etc. therefore, snr is calculated by taking the ratio of the rms signal to the rms noise. rms noise includes all spectral components to the nyquist frequency excluding the fundamental, the first five harmonics, and the dc offset. downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 37 sclk din dout 1234 t cspwh t css t doe t ds t dh t dot t cl t ch t csh t dod 3216 8 d15 d14 d13 d12 d11 5 d15 d7 d14 d6 d13 d5 d12 d4 d0 d1 d0 d1 cs figure 11. dac/gpio serial-interface timing (clock mode 11) sclk din dout cs 1289 24 bit 7 (msb) bit 6 bit 0 (lsb) the command byte initializes the dac select register the next 16 bits select the dac and the data written to it bit 15 bit 14 10 bit 0 bit 1 figure 12. dac-select register byte and dac serial-interface word downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports 38 ______________________________________________________________________________________ gpio input/output cs t gsu t god figure 13. gpio timing ldac t ldacpwl t s out_ 1 lsb figure 14. ldac functionality signal-to-noise plus distortion signal-to-noise plus distortion (sinad) is the ratio of thefundamental input frequency? rms amplitude to the rms equivalent of all other adc output signals: sinad(db) = 20 x log (signal rms / noise rms ) effective number of bits effective number of bits (enob) indicates the globalaccuracy of an adc at a specific input frequency and sampling rate. an ideal adc? error consists of quanti- zation noise only. with an input range equal to the full- scale range of the adc, calculate the enob as follows: enob = (sinad - 1.76) / 6.02 total harmonic distortion total harmonic distortion (thd) is the ratio of the rmssum of the first five harmonics of the input signal to the fundamental itself. this is expressed as: where v 1 is the fundamental amplitude, and v 2 through v 6 are the amplitudes of the first five harmonics. spurious-free dynamic range spurious-free dynamic range (sfdr) is the ratio of rmsamplitude of the fundamental (maximum signal compo- nent) to the rms value of the next largest distortion component. adc channel-to-channel crosstalk bias the on channel to midscale. apply a full-scale sinewave test tone to all off channels. perform an fft on the on channel. adc channel-to-channel crosstalk is expressed in db as the amplitude of the fft spur at the frequency associated with the off channel test tone. intermodulation distortion (imd) imd is the total power of the intermodulation productsrelative to the total input power when two tones, f1 and f2, are present at the inputs. the intermodulation prod- ucts are (f1 f2), (2 x f1), (2 x f2), (2 x f1 f2), (2 x f2 f1). the individual input tone levels are at -7dbfs. t h d x vvvvvv = ++++ () ? ? ? ? ? ? 20 2 2 3 2 4 2 5 2 6 2 1 log / downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports ______________________________________________________________________________________ 39 small-signal bandwidth a small -20dbfs analog input signal is applied to anadc so the signal? slew rate does not limit the adc? performance. the input frequency is then swept up to the point where the amplitude of the digitized conver- sion result has decreased by -3db. note that the t/h performance is usually the limiting factor for the small- signal input bandwidth. full-power bandwidth a large -0.5dbfs analog input signal is applied to anadc, and the input frequency is swept up to the point where the amplitude of the digitized conversion result has decreased by -3db. this point is defined as full- power input bandwidth frequency. dac digital feedthrough dac digital feedthrough is the amount of noise thatappears on the dac output when the dac digital con- trol lines are toggled. adc power-supply rejection adc power-supply rejection (psr) is defined as theshift in offset error when the power supply is moved from the minimum operating voltage to the maximum operating voltage. dac power-supply rejection dac psr is the amount of change in the converter?value at full-scale as the power-supply voltage changes from its nominal value. psr assumes the converter? lin- earity is unaffected by changes in the power- supply voltage. chip information transistor count: 58,141process: bicmos pin configurations ain0 ref1gpioc0 n.c. ldac out7 res_selcs gpioc1 eoc dv dd dgnd sclk din out0 gpioa0 12 3 4 5 6 7 8 9 1011 12 13 14 15 16 17 18 3635 34 33 32 31 30 29 28 2726 25 24 23 22 21 20 19 agnd n.c. out4out6 av dd out3 out2 out1 ref2/ain6ain5 n.c. n.c. ain4 ain3 ain2 ain1 cnvst/ain7 thin qfn max1021 top view dout out5 gpioa1 gpioa0 1 gpioa1 2 3 dv dd 4 dgnd 5 dout 6 sclk 7 din 8 out0 9 eoc ain0 27 ref1 26 25 gpioc0 24 n.c. 23 res_sel 22 21 20 d.c. 19 gpioc1 out1 10 out2 11 12 av dd 13 agnd 14 n.c. 15 d.c. 16 d.c. 17 d.c. 18 out3 36 ref2/ain6 35 34 n.c. 33 n.c. 32 ain4 31 ain3 30 ain2 29 ain1 28 ain5 ldac cs cnvst/ain7 max1043 top view thin qfn (6mm x 6mm x 0.8mm) package information for the latest package outline information, go to www.maxim-ic.com/packages . package type package code document no. 36 tqfn t3666-3 21-0141 downloaded from: http:///
max1021/max1043 10-bit, multichannel adcs/dacs with fifo, temperature sensing, and gpio ports maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circuit patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. 40 ____________________maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 2008 maxim integrated products is a registered trademark of maxim integrated products. revision history revision number revision date description pages changed 1 3/08 changed timing characteristic specification 7 downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of MAX1043BETX

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X